package seismosurfer.domain;

import com.bbn.openmap.LatLonPoint;

/**
 * Extends the OpenMap <code>LatLonPoint</code>
 * to add the zoomLevel field. The zoomLevel field
 * is used in the Google Maps API. 
 *
 */
public class SeismoLatLon extends LatLonPoint {
    
    private static final long serialVersionUID = -8171434220543741448L;

    private int zoomLevel;    
    
    public int getZoomLevel() {
        return zoomLevel;
    }

    public void setZoomLevel(int level) {
        zoomLevel = level;
    }

    public SeismoLatLon(float lat, float lon, int zoomLevel) {
        super(lat, lon);
        this.zoomLevel = zoomLevel;

    }
}
